package com.air.designmodel.fifteen;

/**
 * 静态代理
 *
 * @author shent
 */
public class Test {
    public static void main(String[] args) {
        int count = 1;
        String location = "苏州";
        String state = "normal";
        GumballMachine gumballMachine = new GumballMachine(location, count, state);
        GumballMonitor monitor = new GumballMonitor(gumballMachine);
        monitor.report();
    }
}
